feat: url_check forbids unpinned blob/main and workspace chapter Colab URLs#44
Merged
Conversation
Two new offline forbidden patterns close the release bumper's blind spots found by the Colab census: /blob/main/ Colab URLs to the six notebook repos (the bumper only rewrites date-tagged URLs, so main- pinned links silently drift) and notebooks/chapter_* Colab URLs pointing at workspace repos (chapter tutorials live in the HowTo repos). The /blob/release/ label no longer suggests /blob/main/ as the fix. The Monday central sweep will flag existing rot (HowToLens chapter READMEs, HowToGalaxy wrong-repo links) until the parked phase-2 prompt (PyAutoMind feature/workspaces/colab_link_rot.md) lands — intended. Part of PyAutoLabs/PyAutoBuild#124 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Colab census (PyAutoLabs/PyAutoBuild#124) found two URL-rot classes that
bump_colab_urls.shstructurally cannot maintain: 71 unpinned/blob/main/Colab links in HowToLens chapter READMEs (the bumper only rewrites date-tagged URLs) and 28 Colab links pointing atnotebooks/chapter_*paths in workspace repos (the chapters live in the HowTo repos — dead links that get dutifully re-bumped every release). This adds both as offline forbidden patterns inheart/checks/url_check.sh, so the rot class cannot recur, and updates the/blob/release/label to stop recommending/blob/main/.Heads-up: the Monday central sweep will go red on the existing rot until phase 2 (parked at
PyAutoMind/feature/workspaces/colab_link_rot.md) fixes the links — this is the intended forcing function.Part of PyAutoLabs/PyAutoBuild#124 (Colab maturity, phase 1).
API Changes
None — internal changes only (offline check patterns + tests).
Test Plan
python3 -m pytest tests/— 232 passed (5 new intest_url_check.py: blob/main fails for notebook repos, passes for other repos; workspace chapter path fails; HowTo chapter path passes; workspace non-chapter notebook passes)🤖 Generated with Claude Code